<!DOCTYPE html>
<html>
  <head>
    <meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
    <style type="text/css">
      html { height: 100% }
      body { height: 100%; margin: 0; padding: 0 }
      #map_canvas { height: 70%; width: 70% }
    </style>
	<script type="text/javascript" src="js/jquery.min.js">
	</script>
	<script type="text/javascript">
	hoverIn = function() {
		$('img').fadeIn('slow');
	}
	
	hoverOut = function() {
		$('img').fadeOut('slow');
	}
	
	$(function(){
		
		$('p').hover(hoverIn, hoverOut);
	
		$('table').css('border', 'solid 2px');
	
		$('table').hover(function() {
			$(this).css('position', 'relative').animate({
				opacity: 0,
				top: $(window).height() - $(this).height() - $(this).position().top
			}, 'slow', function() { $(this).hide(); }
			);
		});
		
		$(window).resize(function(event) {
			//$('<div>' + $(window).height() + '</div>').appendTo($('body'));
		});
		
		
	
	});
	
	</script>
  </head>
  <body>
    <p>some text</p>
	<img src='images/castle.jpg' style="display: none;"/>
	
	<table>
		<thead>
			<th>name</th>
			<th>surname</th>
		</thead>
		<tbody>
			<tr>
				<td>Robert</td>
				<td>Boczek</td>
			</tr>
		</tbody>
	</table>
  </body>
</html>